package com.ydt.dockingclients.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class YdtCreateOrderDataResponse {

    @JsonProperty("code")
    private Integer code;
    @JsonProperty("data")
    private DataDTO data;
    @JsonProperty("message")
    private String message;
    @JsonProperty("success")
    private Boolean success;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("actualMoney")
        private Integer actualMoney;
        @JsonProperty("customerOrderNo")
        private String customerOrderNo;
        @JsonProperty("driverName")
        private String driverName;
        @JsonProperty("driverPhone")
        private String driverPhone;
        @JsonProperty("gunNo")
        private Integer gunNo;
        @JsonProperty("money")
        private Integer money;
        @JsonProperty("oilNo")
        private String oilNo;
        @JsonProperty("oilNum")
        private Double oilNum;
        @JsonProperty("orderNo")
        private String orderNo;
        @JsonProperty("price")
        private Double price;
        @JsonProperty("priceGun")
        private Double priceGun;
        @JsonProperty("priceOfficial")
        private Double priceOfficial;
        @JsonProperty("refuelImgUrl")
        private String refuelImgUrl;
        @JsonProperty("stationId")
        private String stationId;
        @JsonProperty("stationName")
        private String stationName;
        @JsonProperty("status")
        private Integer status;
        @JsonProperty("tradeTime")
        private String tradeTime;
        @JsonProperty("truckNo")
        private String truckNo;
        @JsonProperty("waitOffStatus")
        private Integer waitOffStatus;
        @JsonProperty("ycStatus")
        private String ycStatus;
    }
}
